<title>设置</title>

<div class="layui-card layadmin-header">
  <div class="layui-breadcrumb" lay-filter="breadcrumb">
    <a lay-href="">主页</a>
    <a><cite>ucentre</cite></a>
    <a><cite>WendID设置</cite></a>
  </div>
</div>
  
<div class="layui-fluid">
  <div class="layui-row layui-col-space15">
    <div class="layui-col-md12">
      <div class="layui-card">
        <div class="layui-card-header">WendID设置</div>
        <div class="layui-card-body" pad15>
          
          <form class="layui-form layui-form-module" wid100 action="{:url('ucentre/wendid/index')}" method="post">
          
            <div class="layui-form-item">
              <label class="layui-form-label">将本系统</label>
              <div class="layui-input-inline">
                <input type="radio" name="system" value="local" title="作为独立系统" {if $data.system eq 'local'}checked{/if}>
                <input type="radio" name="system" value="client" title="连接到其他ucentre系统" {if $data.system eq 'client'}checked{/if}>
              </div>
              <div class="layui-form-mid layui-word-aux"></div>
            </div>
            
            <div class="layui-form-item">
              <label class="layui-form-label">服务端Url</label>
              <div class="layui-input-inline">
                <input type="text" name="serverUrl" value="{$data.serverUrl}" class="layui-input">
              </div>
              <div class="layui-form-mid layui-word-aux">默认为网站地址</div>
            </div>
            
            <div class="layui-form-item">
              <label class="layui-form-label">客户端ID</label>
              <div class="layui-input-inline">
                <input type="text" name="clientId" value="{$data.clientId}" class="layui-input">
              </div>
              <div class="layui-form-mid layui-word-aux">在服务端“客户端列表”的ID</div>
            </div>
            
            <div class="layui-form-item">
              <label class="layui-form-label">通讯密钥</label>
              <div class="layui-input-inline">
                <input type="text" name="clientKey" value="{$data.clientKey}" class="layui-input">
              </div>
              <div class="layui-form-mid layui-word-aux">在服务端“客户端列表”的通讯密钥</div>
            </div>
            
            <div class="layui-form-item">
              <div class="layui-input-inline">
                <button class="layui-btn" lay-submit lay-filter="J_ajax_submit_btn"><i class="layui-icon layui-icon-ok-circle"></i>提交</button>
              </div>
            </div>
          </form>
          
        </div>
      </div>
    </div>
  </div>
</div>
<script>
;!function(){
  var form = layui.form;
  form.render();
}();
</script>